﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001457 RID: 5207
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TravelBrochureSelectMessageScRsp : IMessage<TravelBrochureSelectMessageScRsp>, IMessage, IEquatable<TravelBrochureSelectMessageScRsp>, IDeepCloneable<TravelBrochureSelectMessageScRsp>, IBufferMessage
	{
		// Token: 0x17004191 RID: 16785
		// (get) Token: 0x0600E8EB RID: 59627 RVA: 0x0026E723 File Offset: 0x0026C923
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TravelBrochureSelectMessageScRsp> Parser
		{
			get
			{
				return TravelBrochureSelectMessageScRsp._parser;
			}
		}

		// Token: 0x17004192 RID: 16786
		// (get) Token: 0x0600E8EC RID: 59628 RVA: 0x0026E72A File Offset: 0x0026C92A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TravelBrochureSelectMessageScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004193 RID: 16787
		// (get) Token: 0x0600E8ED RID: 59629 RVA: 0x0026E73C File Offset: 0x0026C93C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TravelBrochureSelectMessageScRsp.Descriptor;
			}
		}

		// Token: 0x0600E8EE RID: 59630 RVA: 0x0026E743 File Offset: 0x0026C943
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TravelBrochureSelectMessageScRsp()
		{
		}

		// Token: 0x0600E8EF RID: 59631 RVA: 0x0026E74C File Offset: 0x0026C94C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TravelBrochureSelectMessageScRsp(TravelBrochureSelectMessageScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.reward_ = ((other.reward_ != null) ? other.reward_.Clone() : null);
			this.mMKOEOCMGIJ_ = ((other.mMKOEOCMGIJ_ != null) ? other.mMKOEOCMGIJ_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E8F0 RID: 59632 RVA: 0x0026E7B4 File Offset: 0x0026C9B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TravelBrochureSelectMessageScRsp Clone()
		{
			return new TravelBrochureSelectMessageScRsp(this);
		}

		// Token: 0x17004194 RID: 16788
		// (get) Token: 0x0600E8F1 RID: 59633 RVA: 0x0026E7BC File Offset: 0x0026C9BC
		// (set) Token: 0x0600E8F2 RID: 59634 RVA: 0x0026E7C4 File Offset: 0x0026C9C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17004195 RID: 16789
		// (get) Token: 0x0600E8F3 RID: 59635 RVA: 0x0026E7CD File Offset: 0x0026C9CD
		// (set) Token: 0x0600E8F4 RID: 59636 RVA: 0x0026E7D5 File Offset: 0x0026C9D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList Reward
		{
			get
			{
				return this.reward_;
			}
			set
			{
				this.reward_ = value;
			}
		}

		// Token: 0x17004196 RID: 16790
		// (get) Token: 0x0600E8F5 RID: 59637 RVA: 0x0026E7DE File Offset: 0x0026C9DE
		// (set) Token: 0x0600E8F6 RID: 59638 RVA: 0x0026E7E6 File Offset: 0x0026C9E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ALBOCLFFGIH MMKOEOCMGIJ
		{
			get
			{
				return this.mMKOEOCMGIJ_;
			}
			set
			{
				this.mMKOEOCMGIJ_ = value;
			}
		}

		// Token: 0x0600E8F7 RID: 59639 RVA: 0x0026E7EF File Offset: 0x0026C9EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TravelBrochureSelectMessageScRsp);
		}

		// Token: 0x0600E8F8 RID: 59640 RVA: 0x0026E800 File Offset: 0x0026CA00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TravelBrochureSelectMessageScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.Reward, other.Reward) && object.Equals(this.MMKOEOCMGIJ, other.MMKOEOCMGIJ) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E8F9 RID: 59641 RVA: 0x0026E864 File Offset: 0x0026CA64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.reward_ != null)
			{
				num ^= this.Reward.GetHashCode();
			}
			if (this.mMKOEOCMGIJ_ != null)
			{
				num ^= this.MMKOEOCMGIJ.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E8FA RID: 59642 RVA: 0x0026E8CF File Offset: 0x0026CACF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E8FB RID: 59643 RVA: 0x0026E8D7 File Offset: 0x0026CAD7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E8FC RID: 59644 RVA: 0x0026E8E0 File Offset: 0x0026CAE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			if (this.reward_ != null)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.Reward);
			}
			if (this.mMKOEOCMGIJ_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.MMKOEOCMGIJ);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E8FD RID: 59645 RVA: 0x0026E958 File Offset: 0x0026CB58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.reward_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Reward);
			}
			if (this.mMKOEOCMGIJ_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.MMKOEOCMGIJ);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E8FE RID: 59646 RVA: 0x0026E9C8 File Offset: 0x0026CBC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TravelBrochureSelectMessageScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.reward_ != null)
			{
				if (this.reward_ == null)
				{
					this.Reward = new ItemList();
				}
				this.Reward.MergeFrom(other.Reward);
			}
			if (other.mMKOEOCMGIJ_ != null)
			{
				if (this.mMKOEOCMGIJ_ == null)
				{
					this.MMKOEOCMGIJ = new ALBOCLFFGIH();
				}
				this.MMKOEOCMGIJ.MergeFrom(other.MMKOEOCMGIJ);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E8FF RID: 59647 RVA: 0x0026EA5C File Offset: 0x0026CC5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E900 RID: 59648 RVA: 0x0026EA68 File Offset: 0x0026CC68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 98U)
					{
						if (num != 122U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.mMKOEOCMGIJ_ == null)
							{
								this.MMKOEOCMGIJ = new ALBOCLFFGIH();
							}
							input.ReadMessage(this.MMKOEOCMGIJ);
						}
					}
					else
					{
						if (this.reward_ == null)
						{
							this.Reward = new ItemList();
						}
						input.ReadMessage(this.Reward);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005C11 RID: 23569
		private static readonly MessageParser<TravelBrochureSelectMessageScRsp> _parser = new MessageParser<TravelBrochureSelectMessageScRsp>(() => new TravelBrochureSelectMessageScRsp());

		// Token: 0x04005C12 RID: 23570
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005C13 RID: 23571
		public const int RetcodeFieldNumber = 4;

		// Token: 0x04005C14 RID: 23572
		private uint retcode_;

		// Token: 0x04005C15 RID: 23573
		public const int RewardFieldNumber = 12;

		// Token: 0x04005C16 RID: 23574
		private ItemList reward_;

		// Token: 0x04005C17 RID: 23575
		public const int MMKOEOCMGIJFieldNumber = 15;

		// Token: 0x04005C18 RID: 23576
		private ALBOCLFFGIH mMKOEOCMGIJ_;
	}
}
